import * as types from '../../mutation-types/warning/index';

const state = {
    activeName: '',
    activeName1: '',
    activeName00:'',
    activeName11:'',
    activeName2:'',
    activeName22:'',
    
    active: '',
    active1:'',
    active00:'',
    active11:'',
    active2:'',
    active22:'',
    low_get_list : [],
    fake_get_list : [],
    rpt_get_list : [],
//  低价
    todayLow0:{
    	currentPageLow :1,
    	totalCountLow : 0,
      	pageSizeLow: 50,
	    brandSelectId0:'',
	    brandName0:'',
	    SkuSelectId0:'',
	    keyword0:'',
	    usIds0:'',
	    checkTypes0:[],
	    categoryName0:'',
	    Operater0:''
    },
    checkTabs:'',
    todayLow1:{
    	currentPageLow :1,
    	totalCountLow : 0,
      	pageSizeLow: 50,
	    brandSelectId0:'',
	    brandName0:'',
	    SkuSelectId0:'',
	    keyword0:'',
	    usIds0:'',
	    checkTypes0:[],
	    categoryName0:'',
	    Operater0:''
    },
//  假货
    todayFake0:{
    	currentPageFake :1,
	    totalCountFake : 0,
	    pageSizeFake: 50,
	    brandSelectId1:'',
	    brandName1:'',
	    SkuSelectId1:'',
	    keyword1:'',
	    usIds1:'',
	    checkTypes1:[],
	    categoryName1:'',
	    Operater1:''
    },
    todayFake1:{
        currentPageFake :1,
	    totalCountFake : 0,
	    pageSizeFake: 50,
	    brandSelectId1:'',
	    brandName1:'',
	    SkuSelectId1:'',
	    keyword1:'',
	    usIds1:'',
	    checkTypes1:[],
	    categoryName1:'',
	    Operater1:''
    },
//  非授权商家
    todayRpt0:{
   		currentPageRpt :1,
	    totalCountRpt : 0,
	    pageSizeRpt: 50,
	    brandSelectId2:'',
	    brandName2:'',
	    usIds2:'',
	    checkTypes2:[],
	    categoryName2:'',
	    Operater2:''
    },
    todayRpt1:{
        currentPageRpt :1,
	    totalCountRpt : 0,
	    pageSizeRpt: 50,
	    brandSelectId2:'',
	    brandName2:'',
	    usIds2:'',
	    checkTypes2:[],
	    categoryName2:'',
	    Operater2:''
    },
//  明细低价
    todayLowDetail0:{
    	currentPageLowDetail :1,
	    totalCountLowDetail : 0,
	    pageSizeLowDetail: 50,
	    brandSelectId3:'',
	    brandName3:'',
	    SkuSelectId3:'',
	    keyword3:'',
	    title:'',
	    checkTypes3:[],
	    categoryName3:''
    },
    todayLowDetail1:{
    	currentPageLowDetail :1,
	    totalCountLowDetail : 0,
	    pageSizeLowDetail: 50,
	    brandSelectId3:'',
	    brandName3:'',
	    SkuSelectId3:'',
	    keyword3:'',
	    title:'',
	    checkTypes3:[],
	    categoryName3:''
    },
//  明细假货
	todayFakeDetail0:{
    	currentPageFakeDetail :1,
	    totalCountFakeDetail : 0,
	    pageSizeFakeDetail: 50,
	    brandSelectId4:'',
	    brandName4:'',
	    SkuSelectId4:'',
	    keyword4:'',
	    title1:'',
	    checkTypes4:[],
	    categoryName4:''
    },
    todayFakeDetail1:{
    	currentPageFakeDetail :1,
	    totalCountFakeDetail : 0,
	    pageSizeFakeDetail: 50,
	    brandSelectId4:'',
	    brandName4:'',
	    SkuSelectId4:'',
	    keyword4:'',
	    title1:'',
	    checkTypes4:[],
	    categoryName4:''
    },
//  明细非授权
	todayRptDetail0:{
    	currentPageRptDetail :1,
	    totalCountRptDetail : 0,
	    pageSizeRptDetail: 50,
	    brandSelectId5:'',
	    brandName5:'',
	    RptName:'',
	    checkTypes5:[],
	    categoryName5:''
    },
    todayRptDetail1:{
    	currentPageRptDetail :1,
	    totalCountRptDetail : 0,
	    pageSizeRptDetail: 50,
	    brandSelectId5:'',
	    brandName5:'',
	    RptName:'',
	    checkTypes5:[],
	    categoryName5:''
    }
};

const mutations = {
    [types.ACTIVE_NAME](state, {activeName}) {
        state.activeName = activeName || '';
    },
    [types.ACTIVE_NAME_H](state, {activeName1}) {
        state.activeName1 = activeName1 || '';
    },
    [types.ACTIVE_NAME_FAKE](state, {activeName00}) {
        state.activeName00 = activeName00 || '';
    },
    [types.ACTIVE_NAME_FAKE_H](state, {activeName11}) {
        state.activeName11 = activeName11 || '';
    },
    [types.ACTIVE_NAME_RPT](state, {activeName2}) {
        state.activeName2 = activeName2 || '';
    },
    [types.ACTIVE_NAME_RPT_H](state, {activeName22}) {
        state.activeName22 = activeName22 || '';
    },
    
    [types.ACTIVE](state, {active}) {
        state.active = active || '';
    },
    [types.ACTIVE_H](state, {active1}) {
        state.active1 = active1 || '';
    },
    [types.ACTIVE_FAKE](state, {active00}) {
        state.active00 = active00 || '';
    },
    [types.ACTIVE_FAKE_H](state, {active11}) {
        state.active11 = active11 || '';
    },
    [types.ACTIVE_RPT](state, {active2}) {
        state.active2 = active2 || '';
    },
    [types.ACTIVE_RPT_H](state, {active22}) {
        state.active22 = active22 || '';
    },
    
    [types.CHECKTABS] (state , {data}){
		state.checkTabs = data;
	},
    [types.LOW_GET_LIST] (state , {low_get_list}){
		state.low_get_list = low_get_list;
	},
	[types.LOW_TODAY_DATA] (state , {data}){
		state.todayLow0 = data;
	},
	[types.LOW_HISTORY_DATA] (state , {data}){
		state.todayLow1 = data;
	},
//  [types.LOW_CURRENTPAGE] (state , {currentPage}){
//      state.currentPageLow = currentPage;
//  },
//  [types.LOW_PAGESIZE] (state , {pageSize}){
//      state.pageSizeLow = pageSize;
//  },
//  [types.LOW_TOTALCOUNT] (state , {totalCount}){
//      state.totalCountLow = totalCount;
//  },
//  [types.LOW_BRANDSELECTID] (state , {brandSelectId0}){
//      state.brandSelectId0 = brandSelectId0;
//  },
//  [types.LOW_BRANDNAME] (state , {brandName0}){
//      state.brandName0 = brandName0;
//  },
//  [types.LOW_SKUSELECTID] (state , {SkuSelectId0}){
//      state.SkuSelectId0 = SkuSelectId0;
//  },
//  [types.LOW_KEYWORD] (state , {keyword0}){
//      state.keyword0 = keyword0;
//  },
//  [types.LOW_USIDS] (state , {usIds0}){
//      state.usIds0 = usIds0;
//  },
//  [types.LOW_CHECKTYPES] (state , {checkTypes0}){
//      state.checkTypes0 = checkTypes0;
//  },
//  [types.LOW_OPERATER] (state , {Operater0}){
//      state.Operater0 = Operater0;
//  },
//  [types.LOW_CATEGORYNAME] (state , {categoryName0}){
//      state.categoryName0 = categoryName0;
//  },
//  [types.LOW_TODAY] (state , {today0}){
//      state.today0 = today0;
//  },
//  [types.LOW_TAB] (state , {tab0}){
//      state.tab0 = tab0;
//  },
    [types.FAKE_GET_LIST] (state , {fake_get_list}){
		state.fake_get_list = fake_get_list;
	},
	[types.FAKE_TODAY_DATA] (state , {data}){
		state.todayFake0 = data;
	},
	[types.FAKE_HISTORY_DATA] (state , {data}){
		state.todayFake1 = data;
	},
//  [types.FAKE_CURRENTPAGE] (state , {currentPage}){
//      state.currentPageFake = currentPage;
//  },
//  [types.FAKE_PAGESIZE] (state , {pageSize}){
//      state.pageSizeFake = pageSize;
//  },
//  [types.FAKE_TOTALCOUNT] (state , {totalCount}){
//      state.totalCountFake = totalCount;
//  },
//  [types.FAKE_BRANDSELECTID] (state , {brandSelectId1}){
//      state.brandSelectId1 = brandSelectId1;
//  },
//  [types.FAKE_BRANDNAME] (state , {brandName1}){
//      state.brandName1 = brandName1;
//  },
//  [types.FAKE_SKUSELECTID] (state , {SkuSelectId1}){
//      state.SkuSelectId1 = SkuSelectId1;
//  },
//  [types.FAKE_KEYWORD] (state , {keyword1}){
//      state.keyword1 = keyword1;
//  },
//  [types.FAKE_USIDS] (state , {usIds1}){
//      state.usIds1 = usIds1;
//  },
//  [types.FAKE_CHECKTYPES] (state , {checkTypes1}){
//      state.checkTypes1 = checkTypes1;
//  },
//  [types.FAKE_CATEGORYNAME] (state , {categoryName1}){
//      state.categoryName1 = categoryName1;
//  },
//  [types.FAKE_OPERATER] (state , {Operater1}){
//      state.Operater1 = Operater1;
//  },
    [types.RPT_GET_LIST] (state , {rpt_get_list}){
		state.rpt_get_list = rpt_get_list;
	},
	[types.RPT_TODAY_DATA] (state , {data}){
		state.todayRpt0 = data;
	},
	[types.RPT_HISTORY_DATA] (state , {data}){
		state.todayRpt1 = data;
	},
//  [types.RPT_CURRENTPAGE] (state , {currentPage}){
//      state.currentPageRpt = currentPage;
//  },
//  [types.RPT_PAGESIZE] (state , {pageSize}){
//      state.pageSizeRpt = pageSize;
//  },
//  [types.RPT_TOTALCOUNT] (state , {totalCount}){
//      state.totalCountRpt = totalCount;
//  },
//  [types.RPT_BRANDSELECTID] (state , {brandSelectId2}){
//      state.brandSelectId2 = brandSelectId2;
//  },
//  [types.RPT_BRANDNAME] (state , {brandName2}){
//      state.brandName2 = brandName2;
//  },
//  [types.RPT_USIDS] (state , {usIds2}){
//      state.usIds2 = usIds2;
//  },
//  [types.RPT_CHECKTYPES] (state , {checkTypes2}){
//      state.checkTypes2 = checkTypes2;
//  },
//  [types.RPT_CATEGORYNAME] (state , {categoryName2}){
//      state.categoryName2 = categoryName2;
//  },
//  [types.RPT_OPERATER] (state , {Operater2}){
//      state.Operater2 = Operater2;
//  },
    //明细列表
    [types.LOW_TODAY_DATA_DETAIL] (state , {data}){
		state.todayLowDetail0 = data;
	},
	[types.LOW_HISTORY_DATA_DETAIL] (state , {data}){
		state.todayLowDetail1 = data;
	},
//  [types.LOW_CURRENTPAGE_DETAIL] (state , {currentPage}){
//      state.currentPageLowDetail = currentPage;
//  },
//  [types.LOW_PAGESIZE_DETAIL] (state , {pageSize}){
//      state.pageSizeLowDetail = pageSize;
//  },
//  [types.LOW_TOTALCOUNT_DETAIL] (state , {totalCount}){
//      state.totalCountLowDetail = totalCount;
//  },
//  [types.LOW_BRANDSELECTID_DETAIL] (state , {brandSelectId3}){
//      state.brandSelectId3 = brandSelectId3;
//  },
//  [types.LOW_BRANDNAME_DETAIL] (state , {brandName3}){
//      state.brandName3 = brandName3;
//  },
//  [types.LOW_SKUSELECTID_DETAIL] (state , {SkuSelectId3}){
//      state.SkuSelectId3 = SkuSelectId3;
//  },
//  [types.LOW_KEYWORD_DETAIL] (state , {keyword3}){
//      state.keyword3 = keyword3;
//  },
//  [types.LOW_TITLE_DETAIL] (state , {title}){
//      state.title = title;
//  },
//  [types.LOW_CHECKTYPES_DETAIL] (state , {checkTypes3}){
//      state.checkTypes3 = checkTypes3;
//  },
//  [types.LOW_CATEGORYNAME_DETAIL] (state , {categoryName3}){
//      state.categoryName3 = categoryName3;
//  },
    [types.FAKE_TODAY_DATA_DETAIL] (state , {data}){
		state.todayFakeDetail0 = data;
	},
	[types.FAKE_HISTORY_DATA_DETAIL] (state , {data}){
		state.todayFakeDetail1 = data;
	},
//  [types.FAKE_CURRENTPAGE_DETAIL] (state , {currentPage}){
//      state.currentPageFakeDetail = currentPage;
//  },
//  [types.FAKE_PAGESIZE_DETAIL] (state , {pageSize}){
//      state.pageSizeFakeDetail = pageSize;
//  },
//  [types.FAKE_TOTALCOUNT_DETAIL] (state , {totalCount}){
//      state.totalCountFakeDetail = totalCount;
//  },
//  [types.FAKE_BRANDSELECTID_DETAIL] (state , {brandSelectId4}){
//      state.brandSelectId4 = brandSelectId4;
//  },
//  [types.FAKE_BRANDNAME_DETAIL] (state , {brandName4}){
//      state.brandName4 = brandName4;
//  },
//  [types.FAKE_SKUSELECTID_DETAIL] (state , {SkuSelectId4}){
//      state.SkuSelectId4 = SkuSelectId4;
//  },
//  [types.FAKE_KEYWORD_DETAIL] (state , {keyword4}){
//      state.keyword4 = keyword4;
//  },
//  [types.FAKE_TITLE_DETAIL] (state , {title1}){
//      state.title1 = title1;
//  },
//  [types.FAKE_CHECKTYPES_DETAIL] (state , {checkTypes4}){
//      state.checkTypes4 = checkTypes4;
//  },
//  [types.FAKE_CATEGORYNAME_DETAIL] (state , {categoryName4}){
//      state.categoryName4 = categoryName4;
//  },
    [types.RPT_TODAY_DATA_DETAIL] (state , {data}){
		state.todayRptDetail0 = data;
	},
	[types.RPT_HISTORY_DATA_DETAIL] (state , {data}){
		state.todayRptDetail1 = data;
	}
//  [types.RPT_CURRENTPAGE_DETAIL] (state , {currentPage}){
//      state.currentPageRptDetail = currentPage;
//  },
//  [types.RPT_PAGESIZE_DETAIL] (state , {pageSize}){
//      state.pageSizeRptDetail = pageSize;
//  },
//  [types.RPT_TOTALCOUNT_DETAIL] (state , {totalCount}){
//      state.totalCountRptDetail = totalCount;
//  },
//  [types.RPT_BRANDSELECTID_DETAIL] (state , {brandSelectId5}){
//      state.brandSelectId5 = brandSelectId5;
//  },
//  [types.RPT_BRANDNAME_DETAIL] (state , {brandName5}){
//      state.brandName5 = brandName5;
//  },
//  [types.RPT_RPTNAME_DETAIL] (state , {RptName}){
//      state.RptName = RptName;
//  },
//  [types.RPT_CHECKTYPES_DETAIL] (state , {checkTypes5}){
//      state.checkTypes5 = checkTypes5;
//  },
//  [types.RPT_CATEGORYNAME_DETAIL] (state , {categoryName5}){
//      state.categoryName5 = categoryName5;
//  }
    
};

export default {
	state ,
	mutations
};
